home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / defaults.emx < prev    next >
Text File  |  1997-07-10  |  4KB  |  150 lines

  1. // defaults.h                                               -*- C++ -*-
  2. /*
  3.  
  4. Copyright (C) 1996 John W. Eaton
  5.  
  6. This file is part of Octave.
  7.  
  8. Octave is free software; you can redistribute it and/or modify it
  9. under the terms of the GNU General Public License as published by the
  10. Free Software Foundation; either version 2, or (at your option) any
  11. later version.
  12.  
  13. Octave is distributed in the hope that it will be useful, but WITHOUT
  14. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  16. for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with Octave; see the file COPYING.  If not, write to the Free
  20. Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22. */
  23.  
  24. /* Modified by Klaus Gebhardt, 1994 - 1997 */
  25.  
  26. #include <string>
  27.  
  28. #if !defined (_defaults_h)
  29. #define _defaults_h 1
  30.  
  31. #ifndef DEFAULT_PAGER
  32. #define DEFAULT_PAGER "less -ce"
  33. #endif
  34.  
  35. #ifndef OCTAVE_PREFIX
  36. #define OCTAVE_PREFIX "h:/apps/science/octave-2.09"
  37. #endif
  38.  
  39. #ifndef OCTAVE_EXEC_PREFIX
  40. #define OCTAVE_EXEC_PREFIX "h:/apps/science/octave-2.09"
  41. #endif
  42.  
  43. #ifndef OCTAVE_DATADIR
  44. #define OCTAVE_DATADIR "h:/apps/science/octave-2.09"
  45. #endif
  46.  
  47. #ifndef OCTAVE_LIBDIR
  48. #define OCTAVE_LIBDIR "h:/apps/science/octave-2.09"
  49. #endif
  50.  
  51. #ifndef OCTAVE_BINDIR
  52. #define OCTAVE_BINDIR "h:/apps/science/octave-2.09"
  53. #endif
  54.  
  55. #ifndef OCTAVE_INFODIR
  56. #define OCTAVE_INFODIR "h:/apps/science/octave-2.09/doc"
  57. #endif
  58.  
  59. #ifndef OCTAVE_INFOFILE
  60. #define OCTAVE_INFOFILE "h:/apps/science/octave-2.09/doc/octave"
  61. #endif
  62.  
  63. #ifndef OCTAVE_FCNFILEDIR
  64. #define OCTAVE_FCNFILEDIR "h:/apps/science/octave-2.09/scripts"
  65. #endif
  66.  
  67. #ifndef OCTAVE_LOCALFCNFILEDIR
  68. #define OCTAVE_LOCALFCNFILEDIR "h:/apps/science/octave-2.09/scripts"
  69. #endif
  70.  
  71. #ifndef OCTAVE_LOCALSTARTUPFILEDIR
  72. #define OCTAVE_LOCALSTARTUPFILEDIR "h:/apps/science/octave-2.09/scripts/startup"
  73. #endif
  74.  
  75. #ifndef OCTAVE_STARTUPFILEDIR
  76. #define OCTAVE_STARTUPFILEDIR "h:/apps/science/octave-2.09/scripts/startup"
  77. #endif
  78.  
  79. #ifndef OCTAVE_LOCALFCNFILEPATH
  80. #define OCTAVE_LOCALFCNFILEPATH "h:/apps/science/octave-2.09/scripts//"
  81. #endif
  82.  
  83. #ifndef OCTAVE_ARCHLIBDIR
  84. #define OCTAVE_ARCHLIBDIR "h:/apps/science/octave-2.09"
  85. #endif
  86.  
  87. #ifndef OCTAVE_LOCALARCHLIBDIR
  88. #define OCTAVE_LOCALARCHLIBDIR "h:/apps/science/octave-2.09"
  89. #endif
  90.  
  91. #ifndef OCTAVE_OCTFILEDIR
  92. #define OCTAVE_OCTFILEDIR "h:/apps/science/octave-2.09"
  93. #endif
  94.  
  95. #ifndef OCTAVE_LOCALOCTFILEPATH
  96. #define OCTAVE_LOCALOCTFILEPATH "h:/apps/science/octave-2.09"
  97. #endif
  98.  
  99. #ifndef OCTAVE_FCNFILEPATH
  100. #define OCTAVE_FCNFILEPATH "h:/apps/science/octave-2.09/scripts//"
  101. #endif
  102.  
  103. #ifndef OCTAVE_IMAGEPATH
  104. #define OCTAVE_IMAGEPATH "h:/apps/science/octave-2.09/scripts/image"
  105. #endif
  106.  
  107. #ifndef TARGET_HOST_TYPE
  108. #define TARGET_HOST_TYPE "i486 running OS/2"
  109. #endif
  110.  
  111. extern string Voctave_home;
  112.  
  113. extern string Vbin_dir;
  114. extern string Vlib_dir;
  115. extern string Vinfo_dir;
  116. extern string Varch_lib_dir;
  117. extern string Vlocal_arch_lib_dir;
  118. extern string Vfcn_file_dir;
  119.  
  120. // The path that will be searched for programs that we execute.
  121. // (--exec-path path)
  122. extern string Vexec_path;
  123.  
  124. // Load path specified on command line.
  125. // (--path path; -p path)
  126. extern string Vload_path;
  127.  
  128. // Name of the editor to be invoked by the edit_history command.
  129. extern string Veditor;
  130.  
  131. extern string Vimagepath;
  132.  
  133. extern string Vlocal_site_defaults_file;
  134. extern string Vsite_defaults_file;
  135.  
  136. extern string maybe_add_default_load_path (const string& pathstring);
  137.  
  138. extern void install_defaults (void);
  139.  
  140. extern void symbols_of_defaults (void);
  141.  
  142. #endif
  143.  
  144. /*
  145. ;;; Local Variables: ***
  146. ;;; mode: C++ ***
  147. ;;; page-delimiter: "^/\\*" ***
  148. ;;; End: ***
  149. */
  150.